Repost: The Benefits of SRv6 « ipSpace.net blog

home

blog

resources
technology resources
articles
Software Gone Wild podcast
books
videos
netlab examples
automation examples
AWS and Azure examples
Ansible Examples
events and conferences
interviews

technology resources

articles

Software Gone Wild podcast

books

videos

netlab examples

automation examples

AWS and Azure examples

Ansible Examples

events and conferences

interviews

labs
build a virtual lab
BGP configuration labs
IS-IS configuration labs
network automation
public cloud
data center

build a virtual lab

BGP configuration labs

IS-IS configuration labs

network automation

public cloud

data center

about
ipSpace.net
Ivan Pepelnjak
webinar and course authors
ExpertExpress team
company information
contact

ipSpace.net

Ivan Pepelnjak

webinar and course authors

ExpertExpress team

company information

contact

log in

Monday, August 26, 2024 07:44 +0200

Repost: The Benefits of SRv6

I love bashing SRv6, so it's only fair to post a (technical) counterview, this time coming as a comment from Henk Smit.

There are several benefits of SRv6 that I've heard of.

You'll have one address space for addresses and labels. Some people like that.

You have network programmability inside your SIDs. You can do stuff like NFV, etc. I have no idea how many networks really use this.

You can have non-SRv6 speakers in your SRv6 network. As the destination-addresses, which are SIDs/locators, are still just IPv6-addresses, any router that does IPv6 but not SRv6, can still be deployed in your SRv6 network. Personally I don't care about that reason. I really dislike it when a nice clean new technology gets mucked up, just so it is a bit easier to migrate an existing network. The migrations will be finished within a few years. And then you have those ugly details and hacks remaining for the next 3 decades.

You can summarize locators.

This is the big benefit in my eyes. We know how to build a network with a 1000 or so routers, in one IGP domain. But once we go bigger, things are not trivial anymore. We can use BGP to glue parts of the network together. We can divide an IGP into areas. But that causes other problems or inefficiencies. E.g. if you do SR-MPLS, what MPLS labels are your L1L2 routers gonna advertise? They'll need to advertise all MPLS labels for all the loopbacks in the L1 area. And the other way around (L2->L1) is even worse (even more loopbacks). We can not (really) summarize MPLS labels in the control plane. And we sure as hell can not summarize MPLS labels in the dataplane.

With SRv6, this problem is solved. The L1L2 routers can summarize not only the regular prefixes in the area, but also the locators, the flex-algo locators, etc. The only remaining problem is when BGP-speakers expect to see /32s (or /128s) for every peer they talk to. There are no elegant solutions for this yet, so it would be the next problem to fix.

You probably don't care about summarizable locators, or networks with 10k+ routers. But in the end: “the only problem is scalability”. (I though that was a quote from Randy Bush. But Google can't find it. So not sure) 1. My big interest in my career has been scalability in routing protocols. (And performance, robustness and convergence, as they are all closely related). So I like it when SRv6 locators can be summarized.

Or maybe someone with a lot of cash to spend on new routers can ask their supplier for summarizable MPLS labels? :) In today's companies, nobody will listen to a simple engineer as myself. But if a large ISP or hyperscaler, with a fat wallet, asks for something, that could make a difference. :) But then, nobody asked for summarizable MPLS labels during the last 25 years, so I expect nobody will any time soon.

To recap, the only good reason to use SRv6 is to eliminate hierarchical MPLS (or is it seamless MPLS?). Is that worth the effort (and the investment into new ASICs)? I don't know.

Also, I'm still persuaded that using NSH or SRv6 to implement service insertion is not much better than VLAN chaining, but of course, you're most welcome to leave a pointer to a real-life (as opposed to PowerPoint-based) counterexample in the comments.

Anyway, in a follow-up comment, Henk explained what he meant with “network programmability within a SID”.

The 2nd argument requires a bit more knowledge about SR6v. Remember, SRv6 locators are just IPv6 addresses. An operator reserves a prefix to cut locators out. So suppose they assign a /48 for the locators. Lets say we use 1:2:3::0/48. Then you need to cut individual locators for each router. Let's take 16 bits for that. So now the locator for router N is 1:2:3:N::/64. Now you want to assign locators for flex-algos. Let's use 8 bits for that. So the locator for router N, flex-algo F is: 1:2:3:N:F0::/72. That's it. That's the bits you need for SRv6 routing.

But you still have the last 56 bits that are zeros. Unused. You could use them. The idea is that you can but “instructions” into those 56 bits. An operator and a parameter. Or an operator and two parameter. And you might be able to fix more than one instruction in those 56 bits. The instructions could be: “this packet needs to go through a firewall”. Or “this packet needs to go through NAT”. I don't know much about real world application, but that is the idea.

You're not gonna be able to do this with SR-MPLS. With SR-MPLS you get 20 bit address-space. And that is it. Not enough to do fancy things. (Unless you go stack a shitload of labels, maybe).

Finally, SRv6 headers take more space than MPLS labels, potentially resulting in hardware limitations (number of SIDs you can insert into a packet). However, according to Henk, you might not need more than a few SIDs.

For TI-LFA 2 SIDs is usually enough (for the P-node and the Q-node). For uloop-avoidance, 1 or 2 SIDs, is usually enough. For VPNs you might need 2 SIDs. Only for real TE you might need more. I've heard in the real world, have 2-3 SIDs is usually enough for TE. Also, I think MTUs are huge these days. So the overhead of a few SIDs doesn't matter. The only issue is how many SIDs can a router deal with itself? (I have no idea, tbh. I am not a hardware guy).

Comments? Counterarguments? You know where to leave them ;)

It's probably a quote from Mike O'Dell from his May 16th, 2000 lecture. ↩

SRv6

Recent posts in the same categories

SRv6

SwiNOG 40: Application-Based Source Routing with SRv6

BGP, EVPN, VXLAN, or SRv6?

Worth Exploring: SRv6 Test Topologies

SRv6 as a Host-to-Host Overlay

SR-MPLS or SRv6 for Greenfield Networks

Worth Reading: Non-Standard Standards, SRv6 Edition

2 comments:

Jeroen van Bemmel 26 August 2024 02:46 For that last bit, I miss a remark about micro SIDs Reply

Wes Felter 26 August 2024 07:34 20 bits is a million and it's exact match so I wonder what the real limit is for MPLS scalability. 10,000 routers? 100,000? In a flat area you might run out of CPU before you run out of FIB. Reply

Add comment

Newer Post Home Older Post

Sidebar

Follow us

Featured

High Availability
Disaster Recovery
Distributed Systems
High-Availability Solutions
High Availability in Private and Public Clouds
High Availability Service Clusters
High Availability Switching
Site and Host Multihoming

Disaster Recovery

Distributed Systems

High-Availability Solutions

High Availability in Private and Public Clouds

High Availability Service Clusters

High Availability Switching

Site and Host Multihoming

Network Automation
CI/CD in Networking
CLI versus API
Intent-Based Networking
Build Virtual Labs with netlab
Network Infrastructure as Code
Single Source of Truth (SSoT) in Network Automation

CI/CD in Networking

CLI versus API

Intent-Based Networking

Build Virtual Labs with netlab

Network Infrastructure as Code

Single Source of Truth (SSoT) in Network Automation

Routing and Routing Protocols
Anycast Resources
BGP Articles
BGP in Data Center Fabrics
DHCP Relaying
OSPF Articles
Unnumbered IPv4 Interfaces

Anycast Resources

BGP Articles

BGP in Data Center Fabrics

DHCP Relaying

OSPF Articles

Unnumbered IPv4 Interfaces

Software-Defined Networking
OpenFlow Basics
Software-Defined WAN (SD-WAN)
The OpenFlow/SDN Hype
What Is SDN?

OpenFlow Basics

Software-Defined WAN (SD-WAN)

The OpenFlow/SDN Hype

What Is SDN?

Switching and Bridging
Integrated Routing and Bridging (IRB) Designs
Interfaces and Ports
MPLS and MPLS/VPN Details
Multi-Chassis Link Aggregation
QoS Mechanisms

Integrated Routing and Bridging (IRB) Designs

Interfaces and Ports

MPLS and MPLS/VPN Details

Multi-Chassis Link Aggregation

QoS Mechanisms

Other Resources
AI and ML in Networking
Dynamic Multipoint VPN (DMVPN)
Enhanced Interior Gateway Routing Protocol (EIGRP)
Ethernet VPN (EVPN)
Locator/ID Separation Protocol (LISP)
Networking Fundamentals
Open Shortest-Path First (OSPF) Routing Protocol
Segment Routing with MPLS Labels (SR-MPLS)
Segment Routing over IPv6 (SRv6)
Public Videos on ipSpace.net

AI and ML in Networking

Dynamic Multipoint VPN (DMVPN)

Enhanced Interior Gateway Routing Protocol (EIGRP)

Ethernet VPN (EVPN)

Locator/ID Separation Protocol (LISP)

Networking Fundamentals

Open Shortest-Path First (OSPF) Routing Protocol

Segment Routing with MPLS Labels (SR-MPLS)

Segment Routing over IPv6 (SRv6)

Public Videos on ipSpace.net

More...

Popular posts

Goodbye, Leaf-and-Spine Networks?

Anycast-Only Gateways in EVPN Asymmetric IRB

ARP with Anycast Gateways in EVPN Asymmetric IRB

Technology Resources

AI in Networking with Andrew Yourtchenko

Build Virtual Labs with netlab

Worth Reading: My Network is Talking Back Thanks to SuzieQ MCP

Type 7 decryption in Cisco IOS

ipSpace.net on GitHub

SR-MPLS with OSPFv2

see more

Blog Archive

2026 (118)
July 2026 (7)
June 2026 (20)
May 2026 (19)
April 2026 (19)
March 2026 (19)
February 2026 (20)
January 2026 (14)

July 2026 (7)

June 2026 (20)

May 2026 (19)

April 2026 (19)

March 2026 (19)

February 2026 (20)

January 2026 (14)

2025 (205)
December 2025 (13)
November 2025 (21)
October 2025 (21)
September 2025 (21)
August 2025 (11)
July 2025 (12)
June 2025 (19)
May 2025 (15)
April 2025 (18)
March 2025 (18)
February 2025 (17)
January 2025 (19)

December 2025 (13)

November 2025 (21)

October 2025 (21)

September 2025 (21)

August 2025 (11)

July 2025 (12)

June 2025 (19)

May 2025 (15)

April 2025 (18)

March 2025 (18)

February 2025 (17)

January 2025 (19)

2024 (205)
December 2024 (10)
November 2024 (10)
October 2024 (19)
September 2024 (19)
August 2024 (15)
July 2024 (18)
June 2024 (14)
May 2024 (23)
April 2024 (22)
March 2024 (25)
February 2024 (14)
January 2024 (16)

December 2024 (10)

November 2024 (10)

October 2024 (19)

September 2024 (19)

August 2024 (15)

July 2024 (18)

June 2024 (14)

May 2024 (23)

April 2024 (22)

March 2024 (25)

February 2024 (14)

January 2024 (16)

2023 (258)
December 2023 (21)
November 2023 (25)
October 2023 (19)
September 2023 (20)
August 2023 (13)
July 2023 (8)
June 2023 (23)
May 2023 (29)
April 2023 (26)
March 2023 (29)
February 2023 (22)
January 2023 (23)

December 2023 (21)

November 2023 (25)

October 2023 (19)

September 2023 (20)

August 2023 (13)

July 2023 (8)

June 2023 (23)

May 2023 (29)

April 2023 (26)

March 2023 (29)

February 2023 (22)

January 2023 (23)

2022 (245)
December 2022 (14)
November 2022 (27)
October 2022 (24)
September 2022 (27)
August 2022 (1)
July 2022 (4)
June 2022 (20)
May 2022 (26)
April 2022 (26)
March 2022 (28)
February 2022 (26)
January 2022 (22)

December 2022 (14)

November 2022 (27)

October 2022 (24)

September 2022 (27)

August 2022 (1)

July 2022 (4)

June 2022 (20)

May 2022 (26)

April 2022 (26)

March 2022 (28)

February 2022 (26)

January 2022 (22)

2021 (265)
December 2021 (14)
November 2021 (29)
October 2021 (29)
September 2021 (23)
August 2021 (4)
July 2021 (3)
June 2021 (29)
May 2021 (29)
April 2021 (27)
March 2021 (29)
February 2021 (25)
January 2021 (24)

December 2021 (14)

November 2021 (29)

October 2021 (29)

September 2021 (23)

August 2021 (4)

July 2021 (3)

June 2021 (29)

May 2021 (29)

April 2021 (27)

March 2021 (29)

February 2021 (25)

January 2021 (24)

2020 (266)
December 2020 (19)
November 2020 (24)
October 2020 (29)
September 2020 (29)
August 2020 (14)
July 2020 (6)
June 2020 (22)
May 2020 (25)
April 2020 (26)
March 2020 (23)
February 2020 (23)
January 2020 (26)

December 2020 (19)

November 2020 (24)

October 2020 (29)

September 2020 (29)

August 2020 (14)

July 2020 (6)

June 2020 (22)

May 2020 (25)

April 2020 (26)

March 2020 (23)

February 2020 (23)

January 2020 (26)

2019 (215)
December 2019 (14)
November 2019 (22)
October 2019 (25)
September 2019 (23)
August 2019 (11)
July 2019 (2)
June 2019 (18)
May 2019 (24)
April 2019 (21)
March 2019 (21)
February 2019 (17)
January 2019 (17)

December 2019 (14)

November 2019 (22)

October 2019 (25)

September 2019 (23)

August 2019 (11)

July 2019 (2)

June 2019 (18)

May 2019 (24)

April 2019 (21)

March 2019 (21)

February 2019 (17)

January 2019 (17)

2018 (231)
December 2018 (15)
November 2018 (19)
October 2018 (23)
September 2018 (20)
August 2018 (16)
July 2018 (7)
June 2018 (16)
May 2018 (23)
April 2018 (25)
March 2018 (25)
February 2018 (22)
January 2018 (20)

December 2018 (15)

November 2018 (19)

October 2018 (23)

September 2018 (20)

August 2018 (16)

July 2018 (7)

June 2018 (16)

May 2018 (23)

April 2018 (25)

March 2018 (25)

February 2018 (22)

January 2018 (20)

2017 (231)
December 2017 (21)
November 2017 (22)
October 2017 (24)
September 2017 (21)
August 2017 (16)
July 2017 (10)
June 2017 (18)
May 2017 (20)
April 2017 (18)
March 2017 (23)
February 2017 (20)
January 2017 (18)

December 2017 (21)

November 2017 (22)

October 2017 (24)

September 2017 (21)

August 2017 (16)

July 2017 (10)

June 2017 (18)

May 2017 (20)

April 2017 (18)

March 2017 (23)

February 2017 (20)

January 2017 (18)

2016 (225)
December 2016 (18)
November 2016 (21)
October 2016 (22)
September 2016 (23)
August 2016 (16)
July 2016 (12)
June 2016 (18)
May 2016 (21)
April 2016 (18)
March 2016 (21)
February 2016 (20)
January 2016 (15)

December 2016 (18)

November 2016 (21)

October 2016 (22)

September 2016 (23)

August 2016 (16)

July 2016 (12)

June 2016 (18)

May 2016 (21)

April 2016 (18)

March 2016 (21)

February 2016 (20)

January 2016 (15)

2015 (235)
December 2015 (13)
November 2015 (20)
October 2015 (20)
September 2015 (17)
August 2015 (18)
July 2015 (17)
June 2015 (24)
May 2015 (20)
April 2015 (21)
March 2015 (21)
February 2015 (23)
January 2015 (21)

December 2015 (13)

November 2015 (20)

October 2015 (20)

September 2015 (17)

August 2015 (18)

July 2015 (17)

June 2015 (24)

May 2015 (20)

April 2015 (21)

March 2015 (21)

February 2015 (23)

January 2015 (21)

2014 (243)
December 2014 (13)
November 2014 (21)
October 2014 (24)
September 2014 (26)
August 2014 (20)
July 2014 (16)
June 2014 (23)
May 2014 (21)
April 2014 (18)
March 2014 (21)
February 2014 (20)
January 2014 (20)

December 2014 (13)

November 2014 (21)

October 2014 (24)

September 2014 (26)

August 2014 (20)

July 2014 (16)

June 2014 (23)

May 2014 (21)

April 2014 (18)

March 2014 (21)

February 2014 (20)

January 2014 (20)

2013 (241)
December 2013 (15)
November 2013 (18)
October 2013 (24)
September 2013 (24)
August 2013 (22)
July 2013 (16)
June 2013 (19)
May 2013 (24)
April 2013 (24)
March 2013 (17)
February 2013 (20)
January 2013 (18)

December 2013 (15)

November 2013 (18)

October 2013 (24)

September 2013 (24)

August 2013 (22)

July 2013 (16)

June 2013 (19)

May 2013 (24)

April 2013 (24)

March 2013 (17)

February 2013 (20)

January 2013 (18)

2012 (177)
December 2012 (9)
November 2012 (17)
October 2012 (16)
September 2012 (10)
August 2012 (18)
July 2012 (15)
June 2012 (10)
May 2012 (15)
April 2012 (13)
March 2012 (19)
February 2012 (19)
January 2012 (16)

December 2012 (9)

November 2012 (17)

October 2012 (16)

September 2012 (10)

August 2012 (18)

July 2012 (15)

June 2012 (10)

May 2012 (15)

April 2012 (13)

March 2012 (19)

February 2012 (19)

January 2012 (16)

2011 (234)
December 2011 (15)
November 2011 (24)
October 2011 (22)
September 2011 (21)
August 2011 (21)
July 2011 (13)
June 2011 (17)
May 2011 (20)
April 2011 (19)
March 2011 (19)
February 2011 (21)
January 2011 (22)

December 2011 (15)

November 2011 (24)

October 2011 (22)

September 2011 (21)

August 2011 (21)

July 2011 (13)

June 2011 (17)

May 2011 (20)

April 2011 (19)

March 2011 (19)

February 2011 (21)

January 2011 (22)

2010 (213)
December 2010 (22)
November 2010 (19)
October 2010 (19)
September 2010 (22)
August 2010 (23)
July 2010 (18)
June 2010 (21)
May 2010 (14)
April 2010 (19)
March 2010 (20)
February 2010 (8)
January 2010 (8)

December 2010 (22)

November 2010 (19)

October 2010 (19)

September 2010 (22)

August 2010 (23)

July 2010 (18)

June 2010 (21)

May 2010 (14)

April 2010 (19)

March 2010 (20)

February 2010 (8)

January 2010 (8)

2009 (158)
December 2009 (13)
November 2009 (15)
October 2009 (14)
September 2009 (9)
August 2009 (9)
July 2009 (13)
June 2009 (17)
May 2009 (16)
April 2009 (15)
March 2009 (18)
February 2009 (10)
January 2009 (9)

December 2009 (13)

November 2009 (15)

October 2009 (14)

September 2009 (9)

August 2009 (9)

July 2009 (13)

June 2009 (17)

May 2009 (16)

April 2009 (15)

March 2009 (18)

February 2009 (10)

January 2009 (9)

2008 (180)
December 2008 (13)
November 2008 (15)
October 2008 (18)
September 2008 (17)
August 2008 (16)
July 2008 (12)
June 2008 (14)
May 2008 (10)
April 2008 (11)
March 2008 (18)
February 2008 (18)
January 2008 (18)

December 2008 (13)

November 2008 (15)

October 2008 (18)

September 2008 (17)

August 2008 (16)

July 2008 (12)

June 2008 (14)

May 2008 (10)

April 2008 (11)

March 2008 (18)

February 2008 (18)

January 2008 (18)

2007 (183)
December 2007 (9)
November 2007 (20)
October 2007 (15)
September 2007 (15)
August 2007 (16)
July 2007 (8)
June 2007 (16)
May 2007 (17)
April 2007 (16)
March 2007 (19)
February 2007 (16)
January 2007 (16)

December 2007 (9)

November 2007 (20)

October 2007 (15)

September 2007 (15)

August 2007 (16)

July 2007 (8)

June 2007 (16)

May 2007 (17)

April 2007 (16)

March 2007 (19)

February 2007 (16)

January 2007 (16)

2006 (34)
December 2006 (8)
November 2006 (7)
October 2006 (16)
September 2006 (1)
August 2006 (2)

December 2006 (8)

November 2006 (7)

October 2006 (16)

September 2006 (1)

August 2006 (2)

Recent tags

worth reading (285)

netlab (338)

AI (63)

VXLAN (101)

evpn (8)

SR-MPLS (24)

ansible (2)

EVPN (99)

Software Gone Wild (124)

data center (632)

Other tags

automation (375)

BGP (365)

SDN (347)

design (267)

virtualization (267)

security (256)

IPv6 (243)

IP routing (229)

switching (223)

fabric (190)

cloud (183)

OpenFlow (145)

WAN (138)

high availability (131)

networking fundamentals (126)

overlay networks (126)

OSPF (113)

Internet (112)

bridging (111)

MPLS (104)

network management (101)

firewall (99)

MPLS VPN (89)

Ansible (78)

QoS (76)

load balancing (69)

EEM (57)

command line interface (57)

LAN (56)

DMVPN (56)

DHCP (54)

certifications (53)

SD-WAN (53)

IS-IS (43)

Tcl (40)

configuration (34)

vMotion (34)

access control (33)

service providers (32)

SAN (31)

AWS (31)

web (30)

traffic engineering (30)

NSX (30)

HTTP (26)

EIGRP (26)

scalability (26)

PPP (25)

NAT (25)

Azure (24)

DNS (23)

TCP (23)

FCoE (22)

link aggregation (22)

ACI (21)

ARP (20)

IPsec (20)

humor (20)

VPN (19)

containers (19)

logging (18)

LISP (18)

Cumulus Linux (18)

CEF (17)

TRILL (17)

intent-based networking (16)

show filters (15)

syslog (14)

CLNP (12)

what went wrong (12)

DCB (12)

performance (11)

SRv6 (11)

GRE (10)

see more tags

The author

Ivan Pepelnjak (CCIE#1354 Emeritus), Independent Network Architect at ipSpace.net, has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced internetworking technologies since 1990.

More content

Articles

Presentations

Podcasts

Books

Shortcuts

Home

Blog

Even more content

Contact

Subscribe to

Blog posts

Software Gone Wild podcast

Follow Ivan

Disclaimer

The opinions expressed in individual articles, blog posts, videos or webinars are entirely the author's opinions.

Read more

Copyright 2006 - 2026 ipSpace.net AG